<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML>
<html lang="zh-CN">
  <head>
    <base href="<%=basePath%>">
    
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    
    <title>工艺指令</title>
    
	<link href="lib/bootstrap-3.3.5/css/bootstrap.min.css" rel="stylesheet">
	<link href="lib/font-awesome-4.5.0/css/font-awesome.min.css" rel="stylesheet">
	
	<link href="designCloud/css/common.css" rel="stylesheet"></link>
	<link href="designCloud/css/client.css" rel="stylesheet"></link>
	
	<script src="lib/jquery/1.11.3/jquery.min.js"></script>
	<script src="lib/bootstrap-3.3.5/js/bootstrap.min.js"></script>
	
	<!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
  </head>
  
  <body class="client-body">
  		<jsp:include page="client-head.jsp"></jsp:include>
  		
  		<div class="client-content">
	  		<div class="co-head">
  				<div class="co-headTop">
  					<div class="co-headCol co-headTitle">总装工艺</div>
  					<div class="co-headCol">
						<div class="co-carType">型号：<span>8849-1</span></div>
						<div class="co-carName">伯爵设计的车</div>
					</div>
  				</div>
  				<div class="co-headCount">共20道工艺</div>
  				
	  			<div class="co-headAction">
	  				<a class="co-headOption" href="javascript:;">
		  				<div class="co-headImg"><img src="designCloud/images/download.png"/></div>
		  				<div>下载</div>
	  				</a>
	  				<a class="co-headOption" href="javascript:;">
		  				<div class="co-headImg"><img src="designCloud/images/save.png"/></div>
		  				<div>保存</div>
	  				</a>
	  				<a class="co-headOption" href="javascript:;">
		  				<div class="co-headImg"><img src="designCloud/images/save-back.png"/></div>
		  				<div>保存并返回</div>
	  				</a>
	  			</div>
	  		</div>
	  		
	  		<div class="co-content">
	  			<div class="co-contentAction right clearfix">
	  				<a id="co-listAdd" href="javascript:;"><i class="fa fa-plus-square-o"></i></a>
	  				<a id="co-listEdit" href="javascript:;"><i class="fa fa-edit"></i></a>
	  				<a id="co-listDel" href="javascript:;"><i class="fa fa-trash-o"></i></a>
	  				<a href="javascript:location.reload();"><i class="fa fa-refresh"></i></a>
	  			</div>
	  			
	  			<div class="co-contentList">
		  			<form action="">
		  				<table class="table table-bordered table-hover">
					      <thead>
					        <tr>
					          <th  style="width: 10%;">工序</th>
					          <th>工序内容</th>
					          <th style="width: 5%;"></th>
					        </tr>
					      </thead>
					      <tbody id="co-listBody">
					        <tr>
					          <th><span class="listNum">1</span></th>
					          <td><textarea placeholder="请填写内容..." disabled></textarea></td>
					          <td><i class="fa fa-circle-o"></i></td>
					        </tr>
					       
					       <tr>
					          <th><span class="listNum">2</span></th>
					          <td><textarea placeholder="请填写内容..." disabled></textarea></td>
					          <td><i class="fa fa-circle-o"></i></td>
					        </tr>
					        
					        <tr>
					          <th><span class="listNum">3</span></th>
					          <td><textarea placeholder="请填写内容..." disabled></textarea></td>
					          <td><i class="fa fa-circle-o"></i></td>
					        </tr>
					      
					      </tbody>
					    </table>
					    <input id="trSelected" type="text" name="" value="0" />
				    </form>
	  			</div>
	  		</div><!-- co-content -->
	  		
  		</div>
  		
  	<!-- Modal -->
	<div class="modal fade" id="craftModal" tabindex="-1" role="dialog" aria-labelledby="craftModalLabel" data-backdrop="static">
	  <div class="modal-dialog" role="document">
	    <form action="">
		    <div class="modal-content">
		      <div class="modal-header">
		        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
		        <h4 class="modal-title">增加工序</h4>
		      </div>
		      
		      <div class="modal-body">
				  <div class="form-group">
				    <label>工序</label>
				    <input type="number" class="form-control" />
				  </div>
				  <div class="form-group">
				    <label>工序内容</label>
				    <textarea class="form-control" placeholder="请填写内容..." cols="34" rows="5"></textarea>
				  </div>
		      </div>
		      
		      <div class="modal-footer">
		        <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
		        <button type="submit" class="btn btn1">确定</button>
		      </div>
		    </div>
	     </form>
	  </div>
	</div>
  	
  	
  	<script type="text/javascript" src="designCloud/js/craftOrder.js"></script>
    
  </body>
</html>
